﻿using System;
using System.ComponentModel.Composition;

namespace org.theGecko.Utilities.MefMvc
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class ControllerMetaDataAttribute : Attribute, IControllerMetaData
    {
        public ControllerMetaDataAttribute(string controllerName)
        {
            ControllerName = controllerName;
        }
     
        public string ControllerName { get; private set; }
    }
}